﻿namespace Extensions.Web.ViewModel.Code
{
    using System;
    using System.Runtime.CompilerServices;
    using System.Text;

    public static class StringBuilderExtension
    {
        public static StringBuilder AppendLine(this StringBuilder stringBuilder, int tabTime, string value)
        {
            string str = "";
            for (int i = 0; i < tabTime; i++)
            {
                str = str + "    ";
            }
            return stringBuilder.AppendLine(str + value);
        }
    }
}

